package com.jxin.mall.middle.util.redis;

import org.springframework.data.redis.core.RedisTemplate;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

/**
 * stringJsonRedis 工具类
 * @author  蔡佳新
 * @version 1.0
 * @since   jdk 1.8
 */
@Component("strJsonRedisUtil")
public class StrJsonRedisUtil extends RedisUtil {
    @Resource(name = "stringJsonRedisTemplate")
    private RedisTemplate<String, Object> redisTemplate;

    public RedisTemplate<String, Object> getRedisTemplate() {
        return redisTemplate;
    }

}
